﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.Serialization;

namespace CollBrowser
{
  public  class TreeNodeEx : TreeNode
    {
         /// <summary>
         /// 初始化 System.Windows.Forms.TreeNode 类的新实例。
         /// </summary>
        public TreeNodeEx():base(){}
        /// <summary>
        ///         用指定的标签文本初始化 System.Windows.Forms.TreeNode 类的新实例。
        /// </summary>
        /// <param name="text">新的树节点的标签 System.Windows.Forms.TreeNode.Text。</param>
        public TreeNodeEx(string text):base(text){}
        protected TreeNodeEx(SerializationInfo serializationInfo, StreamingContext context) : base(serializationInfo,  context) { }
        public TreeNodeEx(string text, TreeNode[] children) : base(text,  children) { }
        public TreeNodeEx(string text, int imageIndex, int selectedImageIndex) : base(text, imageIndex, selectedImageIndex) { }
        public TreeNodeEx(string text, int imageIndex, int selectedImageIndex, TreeNode[] children) : base(text,  imageIndex,  selectedImageIndex,  children) { }


      /// <summary>
      /// 对应的HTML原素
      /// </summary>
        public HtmlElement El
        {
            get;
            set;
        }
    }
}
